//
//  YHKTextView.swift
//  xinlangweiBo2
//
//  Created by 杨和逵 on 16/3/5.
//  Copyright © 2016年 yanghekui. All rights reserved.
//

import UIKit

class YHKTextView: UITextView {

  
    //一定要是NSString
    var holderString: NSString?
    
    //画图
    override func drawRect(rect: CGRect) {
        //一定要注意textVidew   font
        
        holderString?.drawAtPoint(CGPointMake(2, 8), withAttributes: [NSFontAttributeName:font!])
    }
    
    

}
